package com.zmm.zebulon.module.product.biz.framework.web.config;

import com.zmm.zebulon.starter.swagger.config.ZebulonSwaggerAutoConfiguration;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * description: product 模块的 web 组件的 Configuration
 *
 * @author zebulon
 * package com.zmm.zebulon.module.product.biz.framework.web.config
 * name: ProductWebConfiguration
 * date 2025/8/20 11:30
 */
@Configuration(proxyBeanMethods = false)
public class ProductWebConfiguration {

    /**
     * product 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi productGroupedOpenApi() {
        return ZebulonSwaggerAutoConfiguration.buildGroupedOpenApi("product");
    }

}
